package com.tllq.zhongkang.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Order implements Serializable {

    private static final long serialVersionUID = 7162415113159586211L;
    //总单号
    private String orderNo;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime buyDate;
    //实付金额
    private Double payMoney;
    //应付金额
    private Double originMoney;
    //会员ID
    private String cardNo;
    //门店ID
    private String storeNo;

}
